/**
 * 
 */
package xj.toolkit.bean.xip.test;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

import xj.toolkit.bean.xip.annotation.SsipField;
import xj.toolkit.bean.xip.annotation.SsipMessage;
import xj.toolkit.bean.xip.core.AbstractSsipSignal;

/**
 * @author hp
 *
 */
@SsipMessage(messageCode = 100)
public class SampleSsip extends AbstractSsipSignal {

	@SsipField(index = 0)
	private String name;

	@SsipField(index = 1)
	private int age = 0;

	@SsipField(index = 3)
	private float height = 0f;

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public int getAge() {
		return age;
	}

	public void setAge(int age) {
		this.age = age;
	}

	public float getHeight() {
		return height;
	}

	public void setHeight(float height) {
		this.height = height;
	}

	@Override
	public String toString() {
		return ToStringBuilder.reflectionToString(this, ToStringStyle.MULTI_LINE_STYLE);
	}
}
